package com.team233.zuccecho.Bean;

import com.team233.zuccecho.util.ZuccEchoUtils;

import java.io.Serializable;
import java.util.List;

public class QnAndQuestions implements Serializable{
    private Questionnaire questionnaire;
    private List<Question> questions;
    public QnAndQuestions(){

    }
    public QnAndQuestions(Questionnaire questionnaire, List<Question> questions) {
        this.questionnaire = questionnaire;
        this.questions = questions;
    }

    public Questionnaire getQuestionnaire() {
        return questionnaire;
    }

    public void setQuestionnaire(Questionnaire questionnaire) {
        this.questionnaire = questionnaire;
    }

    public List<Question> getQuestions() {
        return questions;
    }

    public void setQuestions(List<Question> questions) {
        this.questions = questions;
    }

    @Override
    public String toString() {
        return "QnAndQuestions{" +
                "questionnaire=" + questionnaire +
                ", questions=" + questions +
                '}';
    }
}
